﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Hieusinh.ascx.cs" Inherits="Baiviet_Hieusinh" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register TagPrefix="fjx" Namespace="com.flajaxian" Assembly="com.flajaxian.FileUploader" %>

<link rel="Stylesheet" media="screen" type="text/css" href="../styles.css" />

<style type="text/css">
    .style1
    {
        width: 198px;
    }
    .style2
    {
        float: right;
        width: 198px;
    }
</style>

<div class="aboutus_bg">
    <div class="about_col_baiviet_ajax">
        <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <fieldset class="fieldset_style">
            <legend>Dấu hiêu sinh tồn 
                <asp:Label ID="lb_ngaytao_sh" runat="server" Text="Label"></asp:Label></legend>
                <table>
                    <tr>
                        <td align="right" width="100"><b>Mạch:</b></td>
                        <td align="right" width="150">
                            <asp:TextBox ID="txt_mach_hs" runat="server"></asp:TextBox></td>
                        <td align="right" width="100"><b>Huyết áp:</b></td>
                        <td align="right" width="150">
                            <asp:TextBox ID="txt_huyetap_hs" runat="server"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right" width="100"><b>Nhịp thở:</b></td>
                        <td align="right" width="150">
                            <asp:TextBox ID="txt_nhiptho_hs" runat="server"></asp:TextBox></td>
                        <td align="right" width="100"><b>Nhiệt độ:</b></td>
                        <td align="right" width="150">
                            <asp:TextBox ID="txt_nhietdo_hs" runat="server"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <div style="text-align:right">
                                <asp:Button ID="Edit_hs" runat="server" Text="Edit" onclick="Edit_Click" />
                                <asp:Button ID="OK_hs" runat="server" Text="OK" Visible="false" 
                                    onclick="OK_hs_Click" />
                            </div>
                        </td>
                    </tr>
                </table>
          </fieldset>
          <br />
            </ContentTemplate>
        </asp:UpdatePanel>
    
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
          <ContentTemplate>
          
          <fieldset>
            <legend>Chia sẻ hình ảnh</legend>

                <table>
                    <caption>
                        <tr>
                            <td class="style1"><b>Lựa chọn ảnh</b></td>
                            <td><div style="text-align:center">
                                <asp:Label Width="327" CssClass="label_image_list" ID="Label1" runat="server" Text="" Font-Bold="true"></asp:Label>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                <asp:ListBox ID="ListBox1" runat="server" AppendDataBoundItems="True" 
                                    Height="141px" Width="195px" 
                                    SelectionMode="Multiple">
                                </asp:ListBox> 
                                <br />
                                <asp:Button ID="Button2" runat="server" Text="Xem ảnh" Width="195px" 
                                    onclick="Button2_Click" />
                                <br />
                                    <asp:Button ID="Button1" runat="server" Text="Xóa ảnh" onclick="Unnamed1_Click" Width="195px" />      
                            </td>
                            <td style="border-bottom-width:thin" align="center">
                                <asp:HyperLink ID="HyperLink1" CssClass="img_hyperLink_bv" runat="server" 
                                    Target="_blank" ToolTip="Click vào để xem lớn hơn">[HyperLink1]</asp:HyperLink>
                            </td>
                        </tr>
                    </caption>
                    
                </table>
                <br />
          </fieldset>
          </ContentTemplate>
        </asp:UpdatePanel>
          <br />
          <br />
          
          <fieldset>
            <legend>Chia sẻ file</legend>
                <div id="div_hs" class="scrollgrid" runat="server">
                <br />
                </div>
          </fieldset>   
          <br />
          <fieldset id="fieldset_upload" runat="server">
                                    <legend>Upload ảnh và file</legend>
                                    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" 
                                        HorizontalAlign="NotSet" LoadingPanelID="RadAjaxLoadingPanel1" 
                                        RestoreOriginalRenderDelegate="False">
                                        <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" AllowedFileExtensions="jpg,jpeg,png,gif,pdf,rar,zip,doc,docx" 
                                        MultipleFileSelection="Automatic" MaxFileSize="200000">
                                        </telerik:RadAsyncUpload>   
                                        <br />
                                        <asp:Button ID="Button3" runat="server" Text="Upload file" 
                                            onclick="Button3_Click" />  
                                        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
                                        </telerik:RadAjaxLoadingPanel>    
                                    </telerik:RadAjaxPanel>
                                </fieldset>
          <br />
     </div>
     <div style="clear: both">
     </div>
</div>
